package top.bfylu.command.undo;

/**
 * 包名: top.bfylu.command.undo
 * 创建时间: 2022/2/7
 *
 * @author bfy
 * @version 1.0.0
 * <p>
 * 描述:
 * @Email bfyjian@gmail.com
 **/
public class Light {

    private String location;

    private int level;

    public Light(){};

    public Light(String location) {
        this.location = location;
    }

    public void on() {
        System.out.println("Light is on");
    }

    public void off() {
        System.out.println("Light is off");
    }
}
